package com.ysw.controller;

import com.ysw.dto.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestContrller
 * @Description TODO
 * @Author ysw
 * @Date 2022/5/12 19:37
 */
@RestController
public class TestContrller {

    @RequestMapping("/test")
    public ResponseResult testHandler(){
        int i = 1 / 0;
        return ResponseResult.success();
    }

}